include_directories(${CMAKE_CURRENT_SOURCE_DIR})

file(GLOB CONVERTER_COMMON_SRC
        ${CMAKE_CURRENT_SOURCE_DIR}/graph_util.cc
        ${CMAKE_CURRENT_SOURCE_DIR}/meta_graph_utils.cc
        ${CMAKE_CURRENT_SOURCE_DIR}/node_util.cc
        ${CMAKE_CURRENT_SOURCE_DIR}/tensor_util.cc
        ${CMAKE_CURRENT_SOURCE_DIR}/storage.cc
        ${CMAKE_CURRENT_SOURCE_DIR}/meta_graph_serializer.cc
        )

add_library(converter_common_mid OBJECT ${CONVERTER_COMMON_SRC})

set_target_properties(converter_common_mid PROPERTIES COMPILE_FLAGS "-Wno-unused-function")
